import Vue from 'vue';
import router from './router/index.js';
import store from './store';
import App from './App.vue';
Vue.config.productionTip = false;
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './css/base.css';
import './js/rem.js';
Vue.use(ElementUI);
import axios from 'axios';
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';

Vue.prototype.$axios = axios;



import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);

new Vue({
  router, store,
  render: h => h(App),
}).$mount('#app')